package com.interfaces;

/**
 * 模块接口工厂
 */
public class InterfaceFactory {
    private static InterfaceFactory mFactory;
    private static  Object tag = new Object();

    private InterfaceASR mInterfaceASR;
    private InterfaceQR mInterfaceQR;

    public static InterfaceFactory getInstance(){
        if (mFactory == null){
            synchronized (tag){
                if (mFactory == null){
                    mFactory = new InterfaceFactory();
                }
            }
        }
        return mFactory;
    }

    public InterfaceASR getmInterfaceASR() {
        return mInterfaceASR;
    }

    public void setmInterfaceASR(InterfaceASR mInterfaceASR) {
        this.mInterfaceASR = mInterfaceASR;
    }

    public InterfaceQR getmInterfaceQR() {
        return mInterfaceQR;
    }

    public void setmInterfaceQR(InterfaceQR mInterfaceQR) {
        this.mInterfaceQR = mInterfaceQR;
    }
}
